﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using GONES.IBLL;
using GONES.Tools.Common;

public partial class Console_System_User_UsersEdit : CPage
{

    public string UserId { get; set; }

    public string UserName { get; set; }

    public string UserPassWord { get; set; }

    public string ReMark { get; set; }

    public string IsDisabled { get; set; }

    public GONES.Model.S_Users Users = new GONES.Model.S_Users();
    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            string id=Request.QueryString["id"].ToString();
              var userInfoManager = AppContext.GetObject("S_UsersManager") as IS_UsersManager;
              Users = userInfoManager.Get(id);
              if (Users != null)
              {
                  UserId = Users.ID;
                  UserName = Users.UserName;
                  UserPassWord =Users.UserPassWord;
                  ReMark = Users.ReMark;
                  IsDisabled = Users.IsDisabled==0?"checked":"";
              }
        }
        catch
        { 

        }

    }
}